filetemplates: Automatically create directory for license templates
Saving license templates did not work because the directory did not exist.