Add XHR status 0 check for file protocal