convert CRLF to LF
Writer.Write supports any struct