Fix mimetype detection
Merge pull request #6821 from owncloud/backport_5601

Fix mimetype detection