antsCommandLineParser only changes brackets at beginning/end of each argument

Had error with antsCommandLineParser changing my filenames which included brackets. Now only replaces open brackets at start of each argument and close brackets at end of each argument.