Fixes escape for non-strings
Merge pull request #8 from rkusa/master

Fix escape() for non-strings