Fix #334 - Do not allow fs.link on directories
Merge pull request #335 from gideonthomas/issue334

Fix #334 - Do not allow fs.link on directories