fixed File::create_dir() on Windows. Closes #1363