Place common decompression/compression code in public domain