fix stream output created by raw_input

was using incorrect 'name', when it should have been 'stream', creating invalid content in notebook documents.

Found via testing validation in #6045