Use configuration rather than streams directly in deprecation formatter and fall back to std pipes

Potential solution to #1127