Fail fast if a shell command fails. Fixes #3

Fixes #3 

Reviewers: @mhyee