- Move write stream creation after redirect handling to avoid orphan streams that keep file handles open - Add 100ms delay after file.close() on Windows to ensure handle release - Fixes "The process cannot access the file" error during extraction 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>