CoverArtBox: fix incorrect extension matching (.png)

Code was incorrectly setting 'image/png' type for file 'img.png.jpg'
Merge branch 'mimetype_fix' into testing