Add "attachment" parameter to htmlDependency

This is needed for htmlwidgets data dependencies.