LZ4 file compression for super chunks + workaround for crash-on-exit bug