fn write_status(status_path: &Path, line: &str)
One-line status write. Newlines are flattened so the file always holds exactly one parseable line.