markdown: recursive zipping example improvement

Here it is
Last slash could be omitted in directory name, so, the best thing to do is Pathname module and relative_from_path method