win32: fix file test