forEachLine on streams