Emit `data` and `end` events