add sysfs helpers [AndreiLux]