Convert all line-endings to LF first in StringOut before passing the strings to print...
drwxr-xr-x - irc
drwxr-xr-x - reactos
drwxr-xr-x - rosapps
drwxr-xr-x - rostests
drwxr-xr-x - wallpaper