Clear the stream after serializing it in Object#to_eet.