If you switch the compression technique say from zip to gzip then when it comes to tidy up the files created by the job it does not delete the old ones with the different extensions so you can end up with more than the specified number of files in the folder.