WINDOWS: improve file test to pass more frequently