Remove dependency on lockfile-progs

Use flock to manage lockfiles since it's more likely to be installed.