Print errors to stderr instead of stdout

This is particularly useful when the result of something using flags is being redirected elsewhere, e.g. `node cli.js > output.log`.