fn unescape_to_osstr(s: &str) -> Result<Cow<'_, OsStr>>
Unescape a string into a Rust OsStr which is really just an alias for a byte array, but we also impose a constraint that it can not have an embedded NUL byte.
OsStr