Add workaround for formatter that modifies STDOUT's binmode setting