If download of input fails move job to error state

Fixes #29
Merge pull request #34 from cjh1/29-download-failure

If download of input fails move job to error state