Generalize io for other subjects.
Add options to wm_mask, fix a bug in there (what if you provide a TensorModel?)