don't write out a new file for only trailing WS changes

haskell-src-exts doesn't preserve trailing whitespace, so this gets
rid of a whole class of annoying spurious trailing-whitespace-only
changes.