Write to stdout/stderr

Since all the current output is logged, if you're using file loggers
there is no output when running cli tools. Add some, and provide proper
exit codes.