use file extensions to determine previewer type
Merge branch 'master' of github.com:/rstudio/rstudio