Added TemplatePackagingWritingHandler. refs #418