iostat.py:test whether given name is a device or a partition, using sysfs.