When caching an image between different file systems, the hard link
operation would fail. This is fixed by falling back to a copy
operation.
Assisted-By: claude-4-sonnet
Change-Id: Id1eced2e0a30044b0da7dd5f4f2dedc50a5297b6
Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
(cherry picked from commit 685dbeb356)