Switch to using full file paths as keys for templates instead of filename/name.

We want to move to UUIDs eventually, which we can figure out by reading `/path/to/box/config.pvs`, but this is a good solution, and I think we will have very few edge cases.