It gives the appearance of working on Windows. If you change the file extension of a picture, you can still open it, so it may come from that experience.
Arguably, the user has been trained to think that renaming between image format converts between the two because of the image processing program correctly parsing and displaying the image, rather than displaying a message that the user opened a .jpg file but it was really a .png.