Deprecation stream fixes 2 99

This fixes #1451 for 2.99.

One thing I'm unsure of: should the CLI option be `--deprecation-out` (to align with the `--out` CLI option) or `--deprecation-stream` (to align with the `config.deprecation_stream` option).

Thoughts?