Added (limited) support for Windows in list_files.