handle concurrency issue with uploads and downloads

under high load it's possible that an interleaved duplicate insert with
other downloads causes the blob to be replaced and an access condition
violation to occur during download.