make_meta_data_file write statements

I added write statements to the make_meta_data_file.  It still needs to
be tested.