macro_rules! path_to_str { ($path:expr) => { ... }; }
A macro to convert a PathBuf into a Result, returning an error if the path cannot be converted to a string.