Fix some unicode bugs (open file dialog)