Added support for pushing mimetype and file encryption in s3