I've had the exact same problem. I don't see anywhere in the API to set the resolution to the "Standard"?
finaldoc.Save(p + '\\' + splitatlevel.Last() + "_Final.xml");
...