Fail if directory non-writeable

Otherwise install throws a bunch of warnings and claims it finished successfully. dl_r return values are never checked either but I'm not gonna fix those.