fix mkpath in copy_config (don't add juliaprof to path twice