Fix string building for AT mode to use base 16 for ints