Remove trailing whitespaces for python files