Add ns prefixes where necessary in svg; fix charset issues