Fixed #473 -- handle low level errors when reading files