Remove redundant `escapeChar` function

`string.gsub` can accept a table as the third argument, no need to wrap it
in a function.
Merge pull request #18 from mpeterv/remove-redundant-function

Remove redundant `escapeChar` function