pub fn path_as_bytes<'a, P: 'a + AsRef<Path>>( path: P, must_exist: bool, ) -> Result<Vec<u8>>
Convert a path into a byte-vector