rstrip all the things!

I used the [`rstrip`](https://github.com/zhengjia/rstrip) gem to remove all trailing whitespaces and adding newlines to the end of files.