Library for lockfile management.