Fixed conversion of 64bit data representation to hex string