fix not working "query as text" export mode in blink browsers

... because of malformed data url: the charset was incorrectly
enclosed by quotation marks.