Log the fact that link could not created during transfer.

The error is expected when moving data and orphaned images
if the image is part of a mif.
Record exception.
removed import.
Merge pull request #1309 from jburel/mif-record-error

Log error