fix trailing whitespace problems for sh files too