Perfected fix for XHR2 filepath on IE