Problem Demo app running asynchronously with file storage in s3 bucket would error out when saving csv file resulting in the error below.
Source When report_file is saved, it is a unicode string. Boto3 complains that a unicode object must be encoded.
Solution Encode it into bytes.