Update indexWiki.c

Removed debugging statements, passed outfilename to writefile