Emscipten to use fopen/fread/fclose for mod::loadText and mod::loadBinary