String join that's O(n) in the length of the result.