fixed docroot fetching on Windows