bonding: Fix sysfs attribute handling