libsensors: Close file descriptors

Change-Id: Ic16ce9bb56214626bc2986d9f2266a581f6108ce
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1