Saving camera parameters to the xml file