Formatting and better error messages in radius_tmpl2str