Remove execute permission from some modules.
Make some examples compatible with Python 3.