Small changes to copyblob error handling