don't modify Tor's log msg in place

Tor uses its log msg for other callbacks, files, etc. So, we should not modify it in place, as otherwise those other methods will receive an input msg in an unexpected format.

refs #128