Repository: godot
Issue: Moving the working directory crashes the editor
Labels: bug,topic:editor,crash

**Godot version:**
3.2.3-stable


**OS/device including version:**
```
$ uname -a
Linux pc 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux
```

**Issue description:**
The editor crashes if you move the current working directory.

I expected the editor to either show an error or to automatically figure out where the directory moved to.

Interestingly, it seems that Godot does actually find the name of the new folder (original name was `Games`, new name is `games`).

```
-- snip --
ERROR: get_dependencies: Method failed.
   At: scene/resources/resource_format_text.cpp:1292.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/empty.gd.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: get_dependencies: Cannot open file 'res://home/david/Documents/games/Own War/empty.gd'.
   At: modules/gdscript/gdscript.cpp:2322.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/icon.png.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/default_env.tres.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: get_dependencies: Method failed.
   At: scene/resources/resource_format_text.cpp:1292.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/empty.gd.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: get_dependencies: Cannot open file 'res://home/david/Documents/games/Own War/empty.gd'.
   At: modules/gdscript/gdscript.cpp:2322.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/icon.png.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://test/default_env.tres.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://test/icon.png.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/default_env.tres.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: get_dependencies: Method failed.
   At: scene/resources/resource_format_text.cpp:1292.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/empty.gd.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: get_dependencies: Cannot open file 'res://home/david/Documents/games/Own War/empty.gd'.
   At: modules/gdscript/gdscript.cpp:2322.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/icon.png.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/default_env.tres.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: get_dependencies: Method failed.
   At: scene/resources/resource_format_text.cpp:1292.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/empty.gd.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: get_dependencies: Cannot open file 'res://home/david/Documents/games/Own War/empty.gd'.
   At: modules/gdscript/gdscript.cpp:2322.
ERROR: _get_modified_time: Failed to get modified time for: res://home/david/Documents/games/Own War/icon.png.
   At: drivers/unix/file_access_unix.cpp:321.
handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f62bfbbb840] (??:0)
[2] EditorFileSystem::reimport_files(Vector<String> const&) (/home/david/Documents/Godot/GodotEngine/godot/editor/editor_file_system.cpp:1947)
[3] EditorFileSystem::_update_scan_actions() (/home/david/Documents/Godot/GodotEngine/godot/editor/editor_file_system.cpp:592)
[4] EditorFileSystem::_notification(int) (/home/david/Documents/Godot/GodotEngine/godot/editor/editor_file_system.cpp:1157)
[5] EditorFileSystem::_notificationv(int, bool) (/home/david/Documents/Godot/GodotEngine/godot/editor/editor_file_system.h:108 (discriminator 14))
[6] Object::notification(int, bool) (/home/david/Documents/Godot/GodotEngine/godot/core/object.cpp:934)
[7] SceneTree::_notify_group_pause(StringName const&, int) (/home/david/Documents/Godot/GodotEngine/godot/scene/main/scene_tree.cpp:985)
[8] SceneTree::idle(float) (/home/david/Documents/Godot/GodotEngine/godot/scene/main/scene_tree.cpp:525 (discriminator 3))
[9] Main::iteration() (/home/david/Documents/Godot/GodotEngine/godot/main/main.cpp:2107)
[10] OS_X11::run() (/home/david/Documents/Godot/GodotEngine/godot/platform/x11/os_x11.cpp:3233)
[11] /home/david/Documents/Godot/GodotEngine/godot/bin/godot.x11.tools.64(main+0xfa) [0x14086ac] (/home/david/Documents/Godot/GodotEngine/godot/platform/x11/godot_x11.cpp:57)
[12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f62bfba809b] (??:0)
[13] /home/david/Documents/Godot/GodotEngine/godot/bin/godot.x11.tools.64(_start+0x2a) [0x14084fa] (??:?)
-- END OF BACKTRACE --
```

**Steps to reproduce:**
1. Open any project
2. Move the project (`mv /path/to/project /path/to/new_name`) 


**Minimal reproduction project:**
N/A