Fix text file format line breaks