Port _uuid module to multiphase initialization (:pep:`489`).