add exception code for iostat.py.