In writeDateTime, only prepend a 0 if the hex string has odd length