Cleanup whitespace to comfor pep8 and fix trailing \n in files.