Adds missing encoding header for 1.9 rubies