cleaned up iosgetter.py (a bit)