Force locale to be US for NumberFormat.

During CRAN submission, one of the testers was using a German Windows setup.
Apparently, though, R is still sending messages with US-style number formatting.
(cherry picked from commit 9646c52)