using os.mkdir instead of os.makedirs when creating GnuPG home dir