Transform stream to line sized chunks