Specify encoding when uploading data to s3