Don't save the "type" channel setting, it's an XML attribute already. This
fix is ugly as it's putting a detail relevant to XML storage elsewhere in
the code. But I don't think we should have any other storage formats anyway.