auto-create output_dir if it doesn't exist
Merge branch 'master' of github.com:rstudio/rmarkdown