Properly make use of fputs instead of fprintf for dumping the revision log.