fixed a failure in Uploader.direct_fog_url