Fix permissions problem if certs dir is created before the package is installed