[txt] return Windows friendly txt file with \r\n line ends instead of \n

POSIX editors recognize Windows line end. Notepad on Windows does not
recognize POSIX line ends.