Adding toGPX for converting a trackingResult to gpx format