Bug 1078640: Sanitize path used to load XPCOM on OSX. r=smichaud