config: escape subsection names when creating them This allows us to set options like "some.foo\\ish.var". This closes #830