Fix issue with . instead of *.*
Various fixes and tidy-ups:
* finish narrow/bytes version
* fix bug in is_symlink handling
* remove TODOs
* start of listdir() implemented via ScandirIterator