Prevent exception for invalid sysfs file reads

When sysfs file read fails, for strings, it generates exception,
for iostream. Use raw sysfs read to avoid exception and get
error.