fixes source array for windows pathing

Mistake on my part with the previous PR - the slashes need to be added within the call to strip-path. This fix is tested and works.