tarantool-snap: refactored and made master compatible.