Remove file:// prefix from path on windows (thanks Mathieu Strauch)