version output will not print extra newline

This is fussy of me, but the version output may be easier to programmatically consume if `process.stdout.write()` was used instead of `console.log()`, which will throw an extra newline at the end.