correctly escaping file url on windows 8

another fix for windows 8