This was broken in 64ea94c1a4 when putting a work-around for Digital Ocean. PathEscape has now been adjusted so it works with both providers.
64ea94c1a4
The purpose of this is to make it easier to maintain and eventually to allow the rclone backends to be re-used in other projects without having to use the rclone configuration system. The new code layout is documented in CONTRIBUTING.