checked inclusion of file extension for sym links.
Merge pull request #66 from nla/tmp-file-ext-soln-2

slightly better soln for inclusion of file extension for sym links.