Bug 842334 - Fixup test_browserGlue_distribution.js and use XREExeF in nsXREDirProvider, r=gavin, a=bajaj