New SpyPyIo class for dealing with I/O.