This reverts commit e9db0161. Issue #288 - mock_open.return_value.<stuff here> was a widely used pattern.