reg.xml to registry.xml adding spaces