Add recognition for standard *.ico mime-type

Yea Wiki uses image/vnd.microsoft.icon. Not even Microsoft does. Try adding:
cfcontent(type=“image/x-icon”, file=testImg);
after filewrite and see if that works?