Use pbd/string_convert.h API instead of std::ostream for numeric formatting to remain locale independent and not have to use a LocaleGuard. The formatting is equivalent