src/gpx.cc,src/gpx.h,src/printwx.cc: Add support for exporting legs
as tracks in GPX.
src/gpx.cc: Use fputs rather than fprintf for constant strings.