We shouldn't have the JS/ non-JS test for a file _after_ the file has been read. The instrument command will blow up if someone happens to have a 500MB zip file as part of the assets. I would recommend doing a chunk-by-chunk copy for non JS files.