Fix createStatEntry for a symlink to an external file