Added checksum validation and generation for TAR archives.