trim whitespace from python files