revert a little change in io_write_int32 that lead to brokage