Removing trailing space in python files