Add newline to end of template files