statusline: fix wrong check for filetype