Fix jsDirectory..install of exes with sigils in the name.

Also added some sanity checking to make diagnosis easier in the
future.