Reintroduce special handling for Windows' inability to release memory-mapped files.
Merge pull request #2208 from benbc/2.1-fix-windows-delete-failure

Reintroduce special handling for Windows' inability to release memory-ma...