Modify the _strEscape() function to enclose strings in double quotes when they contain a '#' character.