Turns out that there was a condition where I was generating the same
file name due to a tuple parsing error. I was getting the
AlreadyBeingCreatedException for that exact reason.
Nothing wrong with the custom store function, or approaching the problem
in this manner. Just a silly mistake on my part!