file_io.c: Cleanup