Minor cross refactor

Made use of PY2 and PY3 constants everywhere
Export lzip() from py3