Minor changes to the c unittesting code for file_stat