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

Correction bug #1021 Windows File Dialog doesn't append file extension.

bug ref : https://sourceforge.net/p/geany/bugs/1021/

Signed-off-by: bestel <steven.valsesia@gmail.com>