Undo directory changes on failed init

- Removes all files and folders generated as part of initialization
  process, if that process fails.