common: Fix copying data to estreams.