Remove _JAM from the file name before compressing

so archive will have proper name (*.JAM, not *_JAM.JAM). "_JAM_*number*"
in the folder name breaks the code, and it will not be removed.