fix floating point tiff saving.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>