windows: File API: implement listDir and fix spec