Strip tf lists of newlines