use expand() in fname check

Fixes a check because $VIMRUNTIME gives an expanded path and v:oldfiles
does not.