Writing correct size for gz files in archives