samples/kobject/: avoid world-writable sysfs files.