Fixed so that the old mimetype is preserved if not set. New datastreams have the mimetype text/xml unless explicitly set