HDFS-3415. Make sure all layout versions are the same for all storage directories in the Namenode. Contributed by Brandon Li