Fixed checking configs dir is writable