Minor refactoring to use TemplateGeneratorThreads in Template Packaging. refs #418