Output newline after last entry before "/" when outputting grid to file. This make gridfile more robust for later usage.
Merge pull request #429 from karbor/master

Output newline after last entry before "/" when outputting grid to file....