Hadoop-common portion of HADOOP-12122
HDFS-9266 Avoid unsafe split and append on fields that might be IPv6 literals