Fix deprecated copy_header_mapping, use header_mappings_dir instead