bugfix: must create directories before writing to log file.

	modified:   indxr.sh