Go back to using void* for read_raw_data.

#832