use ui.writeError in lib/cli/cli.js

fixes GH-2254
Not sure if this is the responsibility of this PR or another but it doesn't look like `ui.writeError` checks for this https://github.com/stefanpenner/ember-cli/blob/master/lib/ui/write-error.js