text renderer: s/\\n/\\r\\n/ to fix output for windows

see issue #148