io.open is no more?

I used to be able to use io.open to open a text files in the media directory, but after now I see an error is thrown “bad argument type for built-in operation”.

Is this a known issue (e.g. local file io in the media directory is not supported anymore) or should I look for a bug/issue somewhere in my code or system configuration? Any suggestions on another approach to open a text file? Anyone’s still using .inf metadata files?

Any help would be appreciated,
Z

no issue with code below:

with io.open(os.path.realpath(scudlee_filename_custom), “r”) as file: scudlee_1 = file.read()