Add IOError to exceptions