fix the error when add file.

I'm using node-zip-archiver and find a bag, so fixed it.
- delete not using variables.
- fix the error when add file.

I hope you can understand my english…