Fix file logging.

Typo used fprintf() instead of vfprintf() causing arguments to not
be properly output to the log.