Updated to take into account if output strings already contain CRLF EOLs