examples: Make netbios.py work with Python 3