Support `@scoped` packages when writing perf cache
Support `@scoped` packages when writing perf cache

Summary:Runs mkdirp since scoped packages look like `scope/pkg` which introduce an extra level in the directory hierarchy when creating the filename for the perf cache.

Fixes #845.
Closes https://github.com/facebook/jest/pull/846

Differential Revision: D3113637

fb-gh-sync-id: 916cbce81b3eafeebfaf3e7849ab6788b338cea7
fbshipit-source-id: 916cbce81b3eafeebfaf3e7849ab6788b338cea7

alvinsj/jest,skovhus/jest,skawian/jest,cpojer/jest,bookman25/jest,aaron-goshine/jest,Daniel15/jest,ide/jest,razh/jest,skovhus/jest,blainekasten/jest,cpojer/jest,ide/jest,skovhus/jest,blainekasten/jest,cpojer/jest,skawian/jest,ide/jest,aaron-goshine/jest,facebook/jest,facebook/jest,aaron-goshine/jest,alvinsj/jest,sampepose/jest,bookman25/jest,Daniel15/jest,mpontus/jest,bookman25/jest,sampepose/jest,mpontus/jest,razh/jest,mpontus/jest,facebook/jest,blainekasten/jest,Daniel15/jest