Fix try/except syntax for Python 3
Fix try/except syntax for Python 3

"except (IOError, errors):" fails with a TypeError if errors is a tuple on
Python 3, whereas it was accepted in Python 2.

Change-Id: I65cfb60af87e76fdf2d37043fb106adbd4586fb9

magic0704/oslo.messaging,ozamiatin/oslo.messaging,dukhlov/oslo.messaging,redhat-openstack/oslo.messaging,hkumarmk/oslo.messaging,isyippee/oslo.messaging,stevei101/oslo.messaging,redhat-openstack/oslo.messaging,dims/oslo.messaging,viggates/oslo.messaging,JioCloud/oslo.messaging,zhurongze/oslo.messaging,magic0704/oslo.messaging,dims/oslo.messaging,dukhlov/oslo.messaging,apporc/oslo.messaging,eayunstack/oslo.messaging,stevei101/oslo.messaging,apporc/oslo.messaging,ozamiatin/oslo.messaging,hkumarmk/oslo.messaging,zhurongze/oslo.messaging,isyippee/oslo.messaging