'Save the scheme as an xml formated file to `stream`
See also
.scheme_to_ows_stream'

def save_to(self, stream, pretty=True, pickle_fallback=False):

    if isinstance(stream, str):
        stream = open(stream, 'wb')
    self.sync_node_properties()
    readwrite.scheme_to_ows_stream(self, stream, pretty, pickle_fallback=pickle_fallback)
