Handle IOExceptions caused by scanning files in /sys/