Workaround for s3cmd mimetype detection

Mime-type detection is not always reliable
https://github.com/s3tools/s3cmd/issues/198