gpx2energy: made compatible with Python 2.6
gpx2energy: cleanup after fighting with nginx/uwsgi paths.