Directory auto-complete.

`len(ret) > 9`, but it's not a tragedy.