Revert: Use join() rather than string printing.