Return warning if extension doesn't match content type

For @JeniT to review.

Now we only return a warning if we have an extension and that extension doensn't match the content type.