Improve seaf-migrate tool.