Output ddoc test result to results dir.

Fixup for Issue 4899 test-case, which outputed the html file in the current dir instead of the results dir.