Ensure key gets copied even if Chef fails (fix #29)