remove trailing whitespaces from source files