Linux binary installer: Fix an error when using proxies and python 3

Fixes #1286274 [Binary linux installer fails because of bug in proxy debugging output](https://bugs.launchpad.net/calibre/+bug/1286274)