Fix string escaping with large negative character value