Improve remove trailing whitespace command