Fix io_buffer_t::print to take unsigned long argument.