Do not use File#flock on Windows.