Fix broken lock file.