Fix snappytool to use block, not stream, format

The key difference is replacing snappy.NewWriter and snappy.NewReader
with snappy.Encode and snappy.Decode.

This change restores the behavior of the previous (written in C)
snappytool program.
3 files changed