snapshot op wrongly changes data fingerprint 
@maciejskorski I tried to replicate the issue on colab using TF v2.12, please find the attached [gist](https://colab.research.google.com/gist/sushreebarsa/a371a4c340eabea40555a380de1bf2b2/61317.ipynb) here. I have got the output as ; `1889`. Could you please confirm the same?
Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61317">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61317">No</a>
 @SuryanarayanaY This issue is replicating [here](https://colab.sandbox.google.com/gist/SuryanarayanaY/e5973644e0b87a3cda3680a24b5956ac/copy-of-61317.ipynb) in the colab gist. Thank you! @sushreebarsa  In your case the snaphost was created twice in different dirs, right?
Kindly note that I reported the issue under `tensorflow==2.11` while as of now Colab has `2.13` (let us not rely on Colab exclusively or track the version). Hi @maciejskorski ,

I have tested with TF2.13v and observed different fingerprints. Also the fingerprints count changes with `batch_size` and increases with no of runs. Each fingerprint have Two shard files and one metadata file. Attached [gist](https://colab.sandbox.google.com/gist/SuryanarayanaY/d69956adb47cb0355d00d483fde98a02/61317_2-13v.ipynb) for reference.

Will escalate to concern SME and come back.
### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

v2.12.0-rc1-12-g0db597d0d75

### Custom code

Yes

### OS platform and distribution

Linux 4e51bcd72cb8 5.15.109 (Colab)

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

When constructing a tabular dataset from a given file, I see the snapshot fingerprint changing with repeated attempts. The pipeline and data don't change tough. 

### Standalone code to reproduce the issue

```shell
import tensorflow as tf

traffic_volume_csv_gz = tf.keras.utils.get_file(
    'Metro_Interstate_Traffic_Volume.csv.gz', 
    "https://archive.ics.uci.edu/ml/machine-learning-databases/00492/Metro_Interstate_Traffic_Volume.csv.gz",
    cache_dir='.', cache_subdir='traffic'
)

ds = tf.data.experimental.make_csv_dataset(
    traffic_volume_csv_gz,
    batch_size=256,
    label_name='traffic_volume',
    num_epochs=1,
    compression_type="GZIP"
)

ds = ds.enumerate()
ds = ds.snapshot('ds.tfsnap')
ds = ds.map(lambda i,x: x).repeat(10)

for i,_ in enumerate(ds):
  pass

print(i)
```


### Relevant log output

In Colab Notebook, several runs of this code generate many snapshots
```console
ls ds.tfsnap
11819476836996993959  2128571372330446365  8272381159243496395
14899783750259964653  3924588669394259065  9335410099383931136
```