[PY3] Made travis-pre-run.py py2/3 compatible.