Add an option to overwrite logs

 * Issue #5583
Add a tor_ftruncate to replace ftruncate.

(Windows doesn't have ftruncate, and some ftruncates do not move the
file pointer to the start of the file.)
Clarify TruncateLogFile manpage entry