Fix for deprecated util.print and util.puts (Node.js 0.11.x)

Tested on Win and Linux with Node 0.11.10