Update pyvisitor.py

Adjusment to add an exception when it tries to open the response from CBH.