six 1.8.0 and gunicorn._compat

closes #904 and #905