[Bug 857] FindFirstFile() etc. don't handle "directory only" correctly -> rewrite !