Fix the problem of output file directory option invalide(WIN32 GUI)