Take a temporary copy of buffers provided as input. Soak testing suggests this prevents the problems seen in #6.