Fix reading tags on Windows when the filename has unicode chars.