fix encoding issues when running specs with a us-ascii environment