fn write_gz(data: &[u8], dest_path: &Path) -> Result<(), String>
Compress data with gzip and write to dest_path.
data
dest_path