pub fn path_from_native_bytes(bytes: &[u8]) -> Result<PathBuf>
Resolves native Unix bytes or canonical Windows WTF-8 without replacement.
Returns an error if the bytes cannot be represented on the current OS.