Race condition problem in node-stream when using promises.

Revert back to callback-style to prevent 'end' event emitting before
resolved promise is forwarded to then callback.