S3 mime type fix

This pull request will add mime types to s3 when files are created.