Fix bad unwind-protect form in bulk-copy code

Closes #29