add IO exception to be used for IO errors