A through2 wrapper to emulate Array.prototype.reduce for streams.