Error handling when zipping