add some Pair utility for Hadoop Writable io