sanitize_literal had trouble with empty strings.