Fix AWS S3 endpoint