fix white spaces at end of files