patch worker's $stdout and $stderr to write to the new IOs, so Rails console SQL logs show up in the client