Trim trailing whitespace in cindex.py