Handling UTF8 names and fixing findDirectory