pub fn io_error_msg(e: &Error) -> StringExpand description
Format an IO error message without the “(os error N)” suffix. GNU coreutils prints e.g. “No such file or directory” while Rust’s Display impl adds “ (os error 2)“. This strips the suffix for compat.