PokeLib: Windows fopen_s compatibility