Force encoding to binary for ruby19