convert optfile call in ospipe.c for unicode support
Convert optfile usage in osopen.c to use unicode buffers