Move error handling ahead of exorcist.

Otherwise errors are not handled by the time the streem continues down
the pipe, and we will crash.  For #8.