Bug 901594 - PFS 'is not a byte' traceback on requests using gunicorn ve...

...rsion > 0.16.0