libsensors: Close file descriptors