If Dave says we do need to wait like this, then you also need to add the onerror case. Otherwise if someone sticks a read-only file in the temp directory, this enumeration will never complete, and we will never save teh blob.