libsensors: Close file descriptors

Change-Id: Ic16ce9bb56214626bc2986d9f2266a581f6108ce