moved flask_gzip import to top
made stringio import in flask_gzip to be py3 compliant with six