Enabled HTTPS support for template file download.