Fixed fopen_s build break

Works in linux,