Switch to simpler interface for read_exactly.