Clean up some intermediate files before packing