Work around path issues for Windows in widget-creation
Work around path issues for Windows in widget-creation

Fixes #1136.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code