Recent python-black (22.0) dropped support for Python 2 and thus fail for those files. Make the examples Python3 compatible.