Attempt to fix S3 upload.