add line breaks at the end of template files