Allow sharded decoding from- and to-file.
Allow sharded decoding from- and to-file.

PiperOrigin-RevId: 218889905

tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor