make parent directories
Merge pull request #281 from binford2k/fix/reset_certificates_missing_dir

make parent directories