Handle util.format()-style strings in task done()

Also clean up some exit logic.

Fixes #35
Merge pull request #36 from tivac/cli-error-formatting

Handle util.format()-style strings in task done()