Add db_shrink to python binding