BUGFIX for Locale

Add Locale.US when writing to strings. 

Without this, the default locale of the computer will be used. This
creates problems at least for computers with locale in Europe, where ','
instead of '.' is used as the decimal separator.
Merge pull request #1 from xuanyiguang/master

BUGFIX for Locale