Snapshots dbName with VACUUM INTO, then streams the snapshot into sink. Returns the bytes written.
VACUUM INTO