HDFS-6934: Fix writing checksum header on lazy persist, and invalidate client-side short-circuit caches.