Create directory if the given gtest_output path is in an unexisting directory.
Create directory if the given gtest_output path is in an unexisting directory.

BUG=42781
TEST=Run one of out-of-process-tests (e.g. browser_tests) with --gtest_output=xml:unexisting_dir/output.xml parameter and see if the specified unexisting_dir is successfully created (if it's in a writable location).

Review URL: http://codereview.chromium.org/2302003

git-svn-id: http://src.chromium.org/svn/trunk/src@48468 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 9b56b7cb75e9a0209cd282e586e56e49864e262a
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser