Fix mapfile writer to write SVG symbols (#4607)