Revert "Cache file descriptors" (fixes #1096)

This reverts commit 992ad97ad5540c7c61debb321b9b3f6acdcaa9bc.

Causes issues on Windows which uses file locking.
Meaning we cannot archive or modify the file while it's open.
Merge remote-tracking branch 'origin/pr/1097'

* origin/pr/1097:
  Revert "Cache file descriptors" (fixes #1096)