pub fn append_to_path<Iter, T>(
    path: impl AsRef<Path>,
    iter: Iter
) -> Result<(), Error>
where Iter: IntoIterator<Item = T>, Data: From<T>,