Local file XHR fix

Fixes #5