Fixes writing new lines between entries
Merge pull request #150 from maebert/fix-newlines

Fixes writing new lines between entries