FILE_REFERENCE_ERROR error condition
Cannot read file <path>.
STALE_ETAG
The file changed after the FILE reference was created, so its ETag no longer matches. Recreate the reference with to_file.
STALE_SIZE
The file is <actualSize> bytes, but the FILE reference specifies <expectedSize> bytes. Recreate the reference with to_file.