add a test to prove executable bit is set.
Fix issue with cloning symlinks from git to mercurial.