Prettified the native code for WinFileDialog.

 I assume it works because it can't be tested. The resource manager crashes on open. It compiles, which means it probably works.