fix AppdataFolder encoding on windows