save masked
review
Merge pull request #108 from marqh/savestream

Allow the save function to stream either masked or unmasked data.