sink: csv: return errors from pipeline