enforce create_dir when an R Markdown template has multiple files