Fixes #304 : Use platform-specific newlines when verifying error messages