Change path encoding to resolve issue with some signed URLs not working in Firefox