Add checks: if config file exists and is writeable

When running `wd` I got errors that `.warprc` didn't exist so I added a check that creates the file in case it doesn't exist, and stops the program if `.warprc` isn't writeable.