fix trailing and before tab whitespace

Cleanup whitespace chars on line-endings and before tabulators.