function to zip a directory using 7zip