Fix upload to S3