(Internal) HADOOP-2414 WebHDFS fixes for 1.0.3 / Apache HDFS-4549 & HDFS-4551