python 3 and 2.4 support, escape \t\r\n characters option