Improve handling of existing files for alt-dest opts.
Fixes bug #5644.