write writeStream results to stdout
change newline position in dat cat