Improve gpx export code style