Fixed some mem-map issues around floats and chars.
Merge branch 'master' into contours
Fixed header-with-char issue in encode.
Merge branch 'master' into contours