Fixes schmittjoh/twig.js#45 by escaping all . characters with backslashes