logging.tests: fix test failure that happens if factor is in a non-writable directory

trivial fix for the test failures that occur if factor.exe is in an "installed" location