Make setting custom folders work again

Also, ensure that opening the local directory from the wizard
will work on Windows.