Fix AppData file validity