Fixing transaction history CSV download

on error, better use:
`log.warn(err);`
and return `cb(err)` or something like
`cb(new Error('TXHISTORY: ' + err.toString()))`