The mode argument passed to fopen() or freopen() specified type=record, but the open mode did not specify binary.
Correct the mode argument. Record I/O requires a binary open mode. Either remove type=record or specify a binary open mode.
JrEdc1opsEbadmode01