Do not write empty blob to storage twice
Simplify the logic to write an empty blob into a single function called from both places and add a simple check that the blob does not already exist to make the logic more sturdy.
Simplify the logic to write an empty blob into a single function called from both places and add a simple check that the blob does not already exist to make the logic more sturdy.