Modified test_x509.py osutils/test_windows.py and test_log.py to work on Linux