Utilities for interfacing with sysfs