Cleanup and pep8ify convert_cmake.py.

No functional changes, only cosmetic changes.