remove trailing slahes on arguments

remove trailing slahes on arguments, so that we don't end up with paths like /mnt/backup/daily.0//localhost