Add newline at end of written files

Without this, GitHub will show a "No newline at end of file"
warning for the high water mark files.
Merge pull request #15 from andyw8/write-files-with-newline-at-end

Add newline at end of written files
Disable automatic git commit of high water marks