Fix XHR failure for file: protocol.

If load html from local file system, `xhr.status` is not 200/404 but 0, so the page fragments can't be renderred.