Fix double fclose() if clear() is called before the destructor
Merge pull request #165 from gpetruc/fix-fclose-slc5

Yes, it looks like `stdOutIsMine_ = false` was missing.
Merge pull request #166 from cms-analysis/development

Merge bugfix #165 into sl6