Save settings using echo so that printf format strings such as %s are
not interpreted and test adding a document with / in the id.