Attempt to use the C locale for reading/writing files

This is mainly an issue with double/float values, this addresses some
obvious problems in CML but it looks like it will take a bit more work
to get JsonCpp working properly here.

Change-Id: I7904dee62e9db6a4b1f1ab6e1bfc4509008ba6c7
Merge topic 'locale' into master

4698ff0d Attempt to use the C locale for reading/writing files