Check if directory already exists.
Fix bugs in existence checks.
Only reload if operation succeeds.