pub fn iter_join_onto<W, I, T>(w: W, iter: I, delim: &str) -> Result where
    W: Write,
    I: IntoIterator<Item = T>,
    T: Display