Big refactor of SftpFileTree. Should now handle broken links in a better
fashion.