Escape \n and \t characters.