Selectively replace fopen() with fopen_utf8()