By default qie.createTextMessage will generate an output with LF (0A) at the end of each line.
to modify this, use message.setNode as well as StringUtils.replace the line encoding:
message.setNode('/', StringUtils.replace(message, '\n', '\r\n'));
the above code will replace LF (0A) with CRLF (0D0A)