Fixed \x and \X output to give proper digit range