Remove leading empty line from a template