fixing splitter for when there is only one kafka log file remaining to be streamed