Replace dep on commons dirutil Lock

Use lockfile, with a thin wrapper to print the owner process commandline
and break the lock if the owner process doesn't exist.