Improved precision from %f to %.12g in TGDMLRead/Write

(cherry picked from commit 4218ec06a5ba4d5becb0a5a11c9deed212ae0a95)