Fix the behavior of pipe (|) characters. When the number of pipes is not
a multiple of three, escape the remaining ones and avoid truncating the
definition.

Fixes #315.



git-svn-id: http://voronet.francu.com/repos/DEX@970 8d550267-2627-4c68-899f-85492a8dd5ca