This is good for shebang, and also good for future build system simplifications
In streaming mode, libarchive doesn't handle symlinks in zip files correctly. So write the entire file to disk so libarchive can access it in random-access mode. Fixes #10649. This was broken in cabee98152.
cabee98152