Escape double quotes in error message