elb module: add backward-compatible support for Python 3.3+
Merge pull request #2384 from felixonmars/elb-py3

elb module: add backward-compatible support for Python 3.3+. Fixes #2384.