highlight trailing whitespace and trim it on file write