Fixed unable to convert file to uri on Windows.