Bug 1100069 - have nsIHandlerService::getTypeFromExtension fail gracefully and silently in xpcshell. r=bz