Changed return type of getIconBasename() to be a reference.
If an addon icon can not be shown, delete the image file (which will
trigger a re-download on the next start).