doc/tool/ Windows compatibility and origin info in _ref.txt

Merged Bitbucket Importer requested to merge bitbucket/merged-pr-225 into branch/default

Created originally on Bitbucket by techtonik (anatoly techtonik)

Was already merged in Bitbucket before import, marked as merged by the import user

Make produce consistent output on Windows, run from any directory and include comment into _ref.txt that states that it was autogenerated.

Merge request reports