Backup using rsync, but generate the command line using Perl