pub fn encode_path(path: &Path) -> String
The text of a path for a record: hexadecimal, so that a newline in a name cannot forge a field.