Showing wrong mime type in error message if the file ending for an image is wrong.
