iostat.py: code cleanup