[server] fixed an error in zip download a dir