Added directory writable checks to the installer.