IOError, dont have an err attribute, so don't try to get it (rhbz #823315)