Fix examples scripts to follow PEP8 style guide

See https://travis-ci.org/sbesson/omero-example-scripts/builds/12190565