Added an error message when directories (like cache/) could not be written to during installationa.