A Node.js Writable stream that flushes before emitting finish