ReplicationTaskStorage: Use Stream API instead of List Change-Id: I76c23bf472ebc0cad804207699fdca0e9cf4de14