Fix EP context name for cache file name with two dots (#25473)
As `name` is already derived from stem (of cache file name), ff cache
file name contains two dots then blob file name is incorrect. This
enables cache file name with two dots.
### Description
<!-- Describe your changes. -->
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->