bugfix: when using AwsS3 adapter the mimeType was not being set.