Fix file path issues with formulas and casks files