files: Fix link vs target names when creating file remaps

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>