Delete trailing whitespace before save