Fixing mime type copy.
Merge pull request #239 from ngodfraind/bugfix

Fixing mime type copy.