Split out so a caller can fetch the template before entering its render lock; the bytes depend only on the frozen snapshot.
Split out so a caller can fetch the template before entering its render lock; the bytes depend only on the frozen snapshot.