fix for https://github.com/twilio/twilio-python/issues/161