Simplify undo actions and error handling
Add exists function, removed from targz.go. Minor spelling correction
Correct undo error

Replace incorrect path.SplitList() usage.
Add test to catch such errors.