Fixed a file leak introduced with my last checkin. Also be sure to include <stdio.h> just in case.