added escaping for TEX-files

Fixes pdf-generation failures if name or address contains #,$ or _ characters.