Fix appdata directory.