Replace guidgen usage with python's uuid module.