Use OC_Helper::getStringMimeType?