prevent changing originalfile.mimetype from 'Directory'
Merge pull request #1645 from mtbc/fs-directory-mimetype

Prevent changing originalfile.mimetype from 'Directory'