Insert final newlines
Merge pull request #400 from ZDroid/newlines