vectorize pandoc_path_arg(), not assuming path is a scalar

this fixes the warning reported by
http://rmarkdown.rstudio.com/#comment-1447899447
Merge pull request #137 from rstudio/bugfix/pandoc_path_arg

vectorize pandoc_path_arg(), not assuming path is a scalar