Dump scalariform prefs' value as xml attribute.