in reply to Trouble with Streaming text to STDOUT
Have you tried plain print without a filename? It should print to STDOUT by default.