Add checkpointing for DStreams

Fixes #64 
Hmmm.... wasn't a mistake, I removed it as it was again defined further down.