[SF#902]Handle NULL returned by fm_mime_type_from_native_file() correctly.