[VitisAI] use binary mode for context ep (#21474)
### Description
<!-- Describe your changes. -->
We found text format could caused error.
### 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. -->
Because the OS could change the string so we decided to save it as
binary file.