Correction bug #1021 Windows File Dialog doesn't append file extension

bug ref : https://sourceforge.net/p/geany/bugs/1021/

Signed-off-by: Steven Valsesia <steven.valsesia@gmail.com>
Merge branch 'bug_#1021_no_ext_with_native_dialogs' of github.com:bestel74/geany