Fix redo-sources and redo-targets

Only add the automatic 'all' target when running 'redo', and fix the
glob pattern for searching for targets.
Handle errors on rename of target file.