In getFileMimeType(), don't assume mime_content_type() is avail, check
first.