[Bug 2893771]: file stat fails on locked files on win32.