translate exceptions No_more_input -> End_of_file

According to documentation these functions should return End_of_file, not BatInnerIO.No_more_input.