python/samba: PY3 port gpo.apply smbtorture test