Move stream to separate module.
Add riff-print example.