default to not keeping figures for knit
allow arbitrary file types (including Rmd) for help-doc command