Fix lock file.