pub fn to_cpath<P, E>(path: P, error_message: E) -> Result<CString, Error>where P: AsRef<Path>, E: AsRef<str>,