PLAT-771: Fix for double encoding for space in path

The call to url.path() already performs an encoding for spaces. When we call getObjectInfo s3EscapeResource performs an additional encoding which results in  doubly encoded spaces.
This fix makes sure that we use the original path when calling getObjectInfo.