Fix segfault on loading binary RITE files.

I'm sorry. I put a bug in PR #1201. This is an additional fix.