Fix for #2257

When looking for Twig template file names, also include any character that is not a vertical whitespace character.