Retry PhotoKit export failures via AppleScript fallback
Previously only assets invisible to fetchAssets() were sent to the
AppleScript path. Now assets that PhotoKit finds but fails to export
(e.g. PHPhotosErrorDomain 3169 for iCloud download failures) are also
retried via AppleScript. Clean up partial files on export failure so
the fallback path can reuse the destination.