don't ignore exceptions when reading lines

encoding exceptions were being ignored