Fix building the lock on windows

Granted, the locking mechanism is a noop, but it jives with Bolt's equivalent flock() and the fact that os.File for Windows does some locking of its own (see also https://golang.org/src/os/file_windows.go )