[vim] Set backupdir and directory variables.