Fixing mimetype generation on Mac OS X
Merge pull request #4 from spiralman/macos-mimetype

Fixing mimetype generation on Mac OS X