Add stream summarization script



<!---
@huboard:{"order":151.0,"milestone_order":257,"custom_state":""}
-->

'%s%s\n' % (' ' * indent, line)