Optimize IO.lines a bit more

Reading /usr/share/dict/words: 3.941s -> 3.468s (12%)