Revert "Cache file descriptors"

This reverts commit 992ad97ad5540c7c61debb321b9b3f6acdcaa9bc.

Causes issues on Windows which uses file locking.
Meaning we cannot archive or modify the file while it's open.