Track down and fix spurious IOError warnings from gpgi