FIX: [Windows] output an extra newline in console
Merge pull request #802 from qtxie/issue-800

FIX: [Windows] output an extra newline in console