Keep in mind that end of line (EOL) is represented differently on different platforms. On Windows it is carriage return and linefeed (\r\n). On Unix it is just newline (\n). On Macs it is just carriage return (\r).
Adding to the fun is that different editors treat EOL markers differently. Newer versions of Notepad show files with only \n for EOL as you would expect. Older versions (just a couple of years back) do not as they only wrapped lines when \r\n were present. Wordpad and such can do different things as well.
To confirm that the file has what you want, use a viewer that is capable of showing the raw binary file and does not perform any EOL normalization (TextPad is one that can open files in binary mode).