python/samba: use an explicit .encode('utf-8') where we expect utf8 passwords