fix compiler warnings about missing end of file newlines

* added terminal newlines to some specific files which caused compiler warnings
Merge pull request #375 from rivy/rivy-fix-EOF.newlines

fix compiler warnings about missing end of file newlines