Upgraded Flask.
Fixed problems with uWSGI and serving GridFS filelike objects.