Reverting changes made to cake_stream.erl