sysfs: fix problems with binary files