Fix bug when creating the travis.yml file.

Fixes #2.