Fix conversion of input area to stream output

Closes gh-6983