windows: Use normal POSIX strcpy and fopen for better MinGW compatibility