[DF-3542] Fix win32 file lock