add explicit dependency

This makes sure the directory where we place templates is created
*before* we attempt to place files into it.