YARN-2711. Fixed TestDefaultContainerExecutor#testContainerLaunchError failure on Windows. Contributed by Varun Vasudev.

(cherry picked from commit 1cd088fd9dac3015df0b6281974fc6b6c3ece20d)