Replace backslashes in test error messages.

They may contain windows filenames.