Add support for iCloud paths. Fix crash when file referenced by archive has been deleted.