Fix test printing under windows.