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