iostream.py: Reraises AttributeError as NetworkError.