automatically delete trailing whitespaces from files