lz: use ioutil.ReadAll() instead of doing it ourselves.
lz: faster compression method, instead of exhaustive search