Remove dependency on lockfile-progs

Use flock to manage lockfiles since it's more likely to be installed.
Merge pull request #46 from maclarke/flock

Remove dependency on lockfile-progs. Thanks to maclarke.