Use uuid.hex property instead of get_hex()

To work in python3.

fixes #52

Reported-by: Arthur Lutz
Signed-off-by: Andy Grover <agrover@redhat.com>