For some reason, executing a template causes a reformat of the containing project file. I don't think that's desired, especially as reformatting the file can make it less legible as whitespace around attributes is lost in the operation: 