Fix error case when zip generator fails to fetch a file

Wrong callback was called in case of error.