Fix reading escaped ints and longs