recovery: make Stats instances Pickle'able

Also add comments and doctests.
recovery: pipe Stats instance back from subprocess
recovery: comment fixes

Also -x script that are not meant to be executable