Fix snapshot length in save stream.