The problem here is the way that Macs encode files. So a text file may not be just a text file, because of the way that a Mac will encode it. Anyway, I believe it has something to do with the way that it encodes Line Breaks. So no matter how many times you import new information, everytime you save it, it will be screwed up.
What you need to do is use a text editor like BBEdit (not TextEdit). In the save as options, you will be able to do things like save Unix style Line Breaks or use UTF-8 encoding. Doing this will keep the file from breaking when it’s displayed in the themes. Even programs like Dreamweaver and such will cause this problem, since it also happened to me. I went back and did a Save As with Unix style Line Breaks and UTF-8 encoding for good measure and everything was fixed.