Fix printf format string for unsigned int
Fix printf format string for unsigned long
Fix ngfFile resource leak
Fix potential buffer overflow
Fix printf format string for unsigned int