MSVC hex strings.

Fix printNum on Visual Studio: sscanf does not scan unsigned hexadecimal 64-bit integers with format specifier "%lf" to a double, so instead explicitly scan hex strings with "%llx". Fixes parsing and writing string hex numbers such as "0x8000000000000000".