Fixed the generation of tar file names