workaround Windows bug in file url paths.