fixes to adjust to new iod_blob_[write|read] return value