Refactored zipping a folder