Replace backslashes in test error messages, they may contain windows filenames.