Add b-flag to fopen (fix for MinGW)