locks: make "added" in __posix_lock_file a bool