Fix merge conflict between D5369 and D5365

Summary:
One added a new test, the other changed the format of the tests,
so a test failed. Now it passes.

Test Plan: arc unit

Reviewers: epriestley, vrana, wez

Reviewed By: vrana

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5459
Generate random characters by OpenSSL

Summary: Nobody is going to install Capicom.

Test Plan:
  Created a user.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5461
Fix console prompt history on Windows

Summary: Bash expects /-delimited path.

Test Plan:
  phutil_console_prompt('a', __DIR__."\\a");

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5489
Improve FileFinder on Windows

Summary:
We have PHP mode but we use shell mode in tests.
This improves the behavior overall.

Test Plan: Unit tests.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5488