Better way of checking for EOF: io.EOF equality