Fixed issues for improper handling of accented filenames in Windows