Store string representation of job error

instead of error instance, to avoid issue when unpickling certain strange error types.