Fix for issue #1 by escaping parentheses in output

As described in issue #1, parentheses were being inserted into the
output FDF without being escaped.  This, especially in the case of
unbalanced parentheses, often produced invalid FDF files that could not
be processed by standard tools.