On Windows, unlink before rename. Reported by Tim Evans.
2 files changed