Consistently use uppercase hex digits in escape sequences