tidy up (fix) upload to S3.