WPF.FileDialogBackend: bug if no file is selected

if you don't select a file (cancel the dialog), an out of range exception is thrown