macho: do not open file handle when building static archive

Firstly, opening a file handle is not really needed since we won't even
use it, and secondly, this can cause AccessDenied errors on Windows
when trying to move a directory from zig-cache/tmp/ to zig-cache/o/
since, without POSIX semantics, it is illegal to move directories
with open handles to any of its resources.
b12992cb01Jakub Konka committed on 8/18/2022, 7:54:09 PM· committed by Andrew Kelleyparentf645972
2 files changedLine totals unavailable