diffcore-rename, merge-ort: add wrapper functions for filepair alloc/dealloc