// use RENAME only, don't copy - as copy will means that destination already exists etc.
// make sure parent dir exists
vcasFile.getParentFile().mkdirs();
if (!tempFile.renameTo(vcasFile)) // rename propetynamed file to hashnamed one
throw new VCASException("File " + tempFile.getAbsolutePath() + " can't be renamed to VCAS-named "
+ vcasFile.getAbsolutePath());
} // else - CASed Value already exists
// set new spool file as persisted
if (value.isTransient() && !value.isByteArray())