Use the correct S3 endpoint.