Merge pull request #306 from AndreyG/windows

[PosixEnv::FileLock] fix