Small change to properly format the UUID

The current implementation removes any leading zeros from a byte thus
the bytes "AB 01 02" will be converted to the string "AB12".