Make io_buffer_size unsigned to avoid a warning about comparing