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