There are two reasons for this:
- Makes it easier to run this command as a sanity check without
having to create a temporary directory
- Is somewhat faster since you don't have to write thousands of files
This turns the ability to replace common paths with placeholders
into a mixin that can be used with both Casks and Formulae.
The idea here is to make formula hash generation more consistent.