Fix missing EOL at EOF in template