ENH: Add reading/writing tensors