add blob_attr_equal() for comparing attributes