When it tries to lock a locked file, it returns "can't Lock file "...": has non-zero size". It should return "file is already locked" instead.