Use fopen_s in Windows