Unicode filename fix for downloaddir, might still have issues with other parts of the application