Fix regression introduced with Python 3 compat
Move examples to examples directory