That's cool.. it actually took me a few minutes to remember the difference between installing an OTA and flashing a stock image LOL.. so thanks for the refresher.
Internal storage is tricky.. as you would think the word wipe would include wiping everything. You can research it ....but very quickly...
...just remember that the only way to wipe the internal storage is to factory reset the phone by going to the phones settings---security---factory reset.
...the only way to wipe the external storage is by formatting the card, either through the phones security settings or from your computer.
...when flashing a ROM, wiping data does not delete the internal storage (only a factory reset will)