Only auto-trim whitespace in certain filetypes
(This helps to avoid weirdness when amending git patches)