Export big images as jpeg 10841 dev 4 4

Fix the last PEP8 issues noted in https://github.com/ome/scripts/pull/45. Flake8 test should pass.