Use fopen instead of the windows specific fopen_s