deal with BSD stty output

Summary: I'm going to be working on a plane, so I'm getting it compiled on my laptop. The test runner doesn't love BSD.

Reviewed By: @JoelMarcey

Differential Revision: D1399789