Fix for legacy download-template header and footer.