Use writeFeatures instead of writeFeaturesNode in GPX and KML example

This was pointed out by @tschaub in https://github.com/openlayers/ol3/pull/3003#discussion_r21418437 and https://github.com/openlayers/ol3/pull/3003#discussion_r21418435