Add lock option in whisper fill/sync

Optionally set whisper.LOCK which uses an exclusive flock when
accessing whisper files.