trivial: Fix regression when writing hardlinks
Write upgraded AppData values with XML comments