.ico failing when using finfo extension

The .ico mimetype doesn't match the fileinfo PHP extension meaning validation can incorrectly fail. It should be image/x-ico instead of image/x-icon.