Fix crash bug in msvc

fprintf had incorrect number of arguments.