Make sure WFS format writing works correctly in IE9+

This is similar to what we had in OpenLayers 2 (https://github.com/openlayers/openlayers/pull/1220) unfortunately I made the same mistake again in ```ol.format.WFS``` so this PR fixes that.