gribsave int32 scalar

Grib save workaround for the bug in #470
Resolves #431.