Remove trailing spaces from Python files.

According to PEP8 [0] Python files should not have any trailing
whitespaces. This patch removes such whitespaces from *.py files.

[0] http://legacy.python.org/dev/peps/pep-0008/