libsensors: Close file descriptors

Change-Id: Ife12f1d13e4aca27eca9cba183929a6ad849bdf1