Fix encoding issues on us-ascii shells with ruby 1.9 and 2.0