bugfix: on mac, if the icon was already in PNG format then it was ignored