This is better than using the previous "keep statting the file" approach, since we can also tell you how long the replacement is, to avoid a gratitous load. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>