fix: broken random generator
add sys.tmp_dir() and sys.tmp_name()
fix: os.tmpname() returning files in root on Windows

In later versions of Windows, user can't create files in root (e.g. C:\\)