Fix for a check failure in ftp listing

The root cause is described in
  http://bugs.icu-project.org/trac/ticket/11421

The original two line fix is from gguangle@gmail.com. It was momdified
to the minimum necessary because only |baseName| should be reset.

TBR=phajdan.jr@chromium.org
BUG=403902
TEST=Speculative: On Windows with the display language set to one other than
English (e.g. ko, pt-BR, zh-CN, etc; just setting the default locale to
one of them does not work on Win 7 or later or using --lang=foo does not
work), start Chrome and go to ftp://ftp.vim.org. Render process should
not crash.

Review URL: https://codereview.chromium.org/796153002
1 file changed