fix LocalFileSystem.isdir

isdir forgets to return value.