Reduce extra allocations by using itertools::join instead of std::iter::collect into std::iter::join.