HADOOP-11386. Replace \n by %n in format hadoop-common format strings. Contributed by Li Lu.