Issue #22637: avoid using a shell in uuid

Replace os.popen() with subprocess.Popen() in the uuid module.

--HG--
extra : amend_source : 7ba58b7dac4f1fd8a9bb99708473a9a38575601a
Issue22506: remove name & value from __dir__ as they now show up automatically