Catch Mime.MagicDB lookups with unknown MIMEtypes.

Also add script for fuzz-testing xdg.Mime.get_type2()