cloudwatch module: add backward-compatible support for Python 3.3+