Support test result output on non-Windows too