Fixed StringFormatException for some regional settings.