close meta output file so that way meta data actually gets written