iostream.py: WIP adds read/write fast path & exception handling.