Remove whitespace at end of file