sysfs: Only take active references on attributes.