Don't mess with the locale when parsing strings

Changing the locale to make atof treat '.' as the decimal separator is
not thread safe and therefore to be avoided!