#1565 `__sleep` containing private properties

Attempt to fix facebook/hhvm#1565