Read binary files over XHR