Fix #6

Errors should cause a non-zero exit code.

See https://github.com/erikhuda/thor/issues/244