Use template directly instead of stack.tmpl

Use template.Template directly instead of stack.tmpl.Template.

Change-Id: I856300b896a55bbd33cdc8b465a2bb4a43ea2b39
Merge "Use template directly instead of stack.tmpl"