Client fix skipping this and parent dirs

Assumption was wrong that after alphasort() the . and .. dirs are
at the front of the list. They are not.
Result: infinite loop when resursively adding directories.

Instead, check whather the entry string start with . and skip.
Added benefit: hidden files are also skipped.