Another optimization for mirroring.  If the datafile is already mirrored, don't bother with the read-back-and-verify.
Defend against truncated files in the filestore causing put_file to lock up.