fix deprecation warning in rdup-tr.c

when compiling with libarchive 3.1.2 in Arch Linux a deprecation warning for archive_write_finish stopped the compilation