Fix for issue of inferring cookbook path in Windows

I found an issue with windows path inference as documented in the commits and resolved it by adding a numeric regex to split on when getting the calling file path.