Update mapfile.c

There has a bug in line 668 and 670. we should replace fprintf with msIO_fprintf. if not, the result will print to stdout in python mapscript.
Merge pull request #4810 from takinwang/patch-1

Update mapfile.c