Fix crash when working directory ceases to exist

Here's a scenario:

```
$ cd ~
$ mkdir abc
```

Now, go into Sublime Files and navigate to `~/abc`.

```
$ rm -r abc
```

Now, go back to Sublime Text and Sublime Files will crash when you attempt to invoke it because `os.getcwd` throws an error.