Make extension matching case insensitive

Don't mind case when looking for what type of page to render. For
example, `.JPG' should be considered the same as `.jpg'.