Fix Amazon S3 url.