Adding support for symlinks

Fixes #6094

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Hmm, that definitely fails for me in the shell.