--fixed for CRM-12694

----------------------------------------
* CRM-12694: Eliminate/replace call to function mime_content_type()
  http://issues.civicrm.org/jira/browse/CRM-12694