pub fn write_name_entry(root: &Path, name: &str) -> Result<()>
Persist long-name identity before publishing the entry’s payload. Callers serialize writes with the same lock that protects the payload.