Embed the template source for the wordlist directive in the directive's code, thus avoiding path problems.