Specifies is DumpToFile method must rewrite target file.
property RewriteFile: boolean;
Set RewriteFile to True, if you want DumpToFile method to rewrite target file. If RewriteFile is set to False, then exception will occur if target file exists.
RewriteFile := False;
If OpenDialog1.Execute then
ShowMessage('Failed to dump');