fixed guisettings.xml write directory