utils: Add class to split string stream into lines