Fix the travis build for python3.