strip trailing whitespace from python files as well