automatically run delete trailing spaces when saving a file