Check out this post: Compress files to .zip format
There’s a XAML file which will do the work for you.