Fixed the code page reset.

Because it is localized in accordance with the contents of the code page,
the output of 'chcp' command is not able to get the code page correctly
acquisition in that depends on the number of words.

(In CP932 environment, Japanese messages are output)
Merge pull request #147 from mohawk2/testfixup

Test fixup
Merge pull request #148 from magnolia-k/master

Fixed the code page reset.
Incomplete attempt at dep-quoting on dmake.