_new_backup_path: fix TypeError, bug #453892