[TRAVIS] Fixing path issues in publish-to-gh-pages script.