csv/stream: a minor bug fixed