allow reduce_one_machine to use stdin as input
prepare for adding combiner
use simple concat instead of reduce for joining final output