Fixed issue #9153: Database dump tool not properly quoting all special chars