Fix opening the explorer with a selected file on windows.

Should Fix #1249