thermal: fix to read and parse the contents of the sysfs