maybe try it with "file_asc_write(number)" for "\n":
Code:
//replace these lines "file_str_write(fHandle,"\n");"
//by the following:
file_asc_write(fhandle,92); //writes "\"
file_asc_write(fhandle,110); //writes "n"
Dunno if this helps, but it might be worth a try, oh and by the way:
notepad won't interpreted "\n" like a return (line break or whatever), as far as I know.