Get rid of explicit batch_process() call, and avoid dividing by zero...

... Don't run the batch if there are no files to add in the ZIP file.
Coding standards... squash some whitespace.