Pass all files at the same time to plugin$process

This allows more flexible plugins, e.g. plugins can
add files to the toolchain, and they can also take
care of files that are generated for multiple
input files, but we need them only once. An example
would be the JS and CSS files for rmarkdown() output.