Handle exception caused by gpxpy library.

+ See https://github.com/tkrajina/gpxpy/issues/10.