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
Merge pull request #5 from tongpu/master

fix deprecation warning with libarchive 3.1.2