automatic patching of tex files for cipher strings