Use the basename of path as the archive's name.