Fix copy.headers output files.