packages/export: export_rsync_bidir: improve cleanup support.