Pickler compress chunking

stealing from various PRs and Oliviers numpy PR