Output version information using process.stdout.write instead of console...

....log - fixes #246