Remove newlines to make log easier to grep.