Fix bad behavior in a Windows file system