to_str_bytes for int and uint works