HDFS-6886. Use single editlog record for creating file + overwrite. Contributed by Yi Liu.