S3 endpoint fix.