gh-103935: Use io.open_code() to open executable file
#103947
Merged
io.open_code() to open executable file
#103947