Strip whitespace in more filetypes

I'm working with some new folks and whitespace is a problem in these
types of files again.