This silently removes the working directory configuration if it's not in utf8 format (i.e., when `dir.as_str()` returns `None`). It should fail loudly, using `expect`.

Don't worry about changing this, though -- I'm currently rebasing another patch around this one, for dealing with non-unicode filesystems/arguments on other platforms, and I'll address the problem there.