fix local file load fail on win. issue 338