small cahnges to examples

scan.py runs unchanged with python3
owget still has to be modfied due to different str/bytes semantics