fix IOError if iconfile does not exist