fix TemplateHelper
improve MetaHeaderCommand

- Don't corrupt files when header can not be detected
- Respect the exclamation character for existing headers
- Inform when skipping a file