r22001: change prototype of dump_data(), so that it takes unsigned char * now,