Made util.lockfile.lock_file pass the lock object down to the with block