Fix wrong result size in ReadData.

Add dnet_io_attr in ReadResult.