Fix tralings whitespace and add an empty line at the end of each file.