Convert to Int before indexing with Char in Array

Regression fix from https://github.com/JuliaLang/julia/pull/8816
Fixes #84
Merge pull request #85 from JuliaLang/in/fix_char_index

Convert to Int before indexing with Char in Array