removing encoding in stub_requests which rails on 1.8 and 1.9