Add pack-tar and unpack-tar functions.