Also write out rel in Lockfile (fixes #532)
Normalize path locations in lockfile legacy (fixes #529)