Refactor Grib save handling of grid templates, for clarity.

NB. Instead of adding your own double-quotes, you can use the "!r" modifier:
```python
>>> print 'str-style: {}, repr-style: {!r}'.format('this', 'that')
str-style: this, repr-style: 'that'
```