Added support for lowercase file extensions.

Support for parsing index.rmd as well as index.Rmd.