Fix BufferefFile test on Windows.