Removing files when in --eval can fail on Windows due to file locking.