Fix reraising error Python 2/3 syntax in wsgi-loader.py.
Fully fix Python 3 compatibility. Fixes issue #817.