Update flask_compress.py

Fixed to work with python 3.x.  In python >3 StringIO was included in the io module.  This fix works with previous versions and is as suggested in the Python 3 Porting Guide.