Use builtin Go function for checking file prefix
Oreview
In !2122 (merged) we fixed a bug that checks the prefix of a file when running on Windows. At the moment we are just doing a string path, however when https://github.com/golang/go/issues/18358 is implemented we can use the filepath.HasPrefix function that is provided by Go.