Make ICO files work with the ImageFile.Parser interface, fixes #522