simplyfy mimetype parsing of 'file' output
Merge pull request #1527 from owncloud/simplyfy_file_mimetype_parsing

simplyfy mimetype parsing of 'file' output