I’ve reported this problem to Microsoft, but it will probably take another 2 to 6 months before i get an answer.
The answer is simple: wlw checks for an exif. If he finds one, the image is a JPEG, so he leaves it alone. If he doesn’t, he assumes it’s a PNG, so he transforms it into one.
The image on the left is transformed. The one on the right is not.