Updates tools/travis-scripts/generate-template-files.py.
Merge pull request #5724 from dumganhar/develop

Updates tools/travis-scripts/generate-template-files.py.