Properly zip the refs.tgz file.