Use writeFeatures instead of writeFeaturesNode in GPX and KML example
Merge pull request #3017 from bartvde/format-write-string-example

Use writeFeatures instead of writeFeaturesNode in GPX and KML example (r=@elemoine)