If download of input fails move job to error state

Fixes #29